import { all } from 'redux-saga/effects'
import {todosSagas} from './todos' // 请求
const allSagas = [
    ...todosSagas,
    // ...
]

export default function* rootSaga() {
      // 命令 middleware 并行运行多个 effect，类似于 promise all
    yield all(allSagas)
}
